package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.ReportPartnerYearVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class ReportPartnerYearDubboServiceMock implements ReportPartnerYearDubboService {
    @Override
    public ReportPartnerYearVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        ReportPartnerYearVO vo  =  new ReportPartnerYearVO();
        vo.setPartnerCode("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(ReportPartnerYearVO reportPartnerYearVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<ReportPartnerYearVO> findPageByVO(ReportPartnerYearVO reportPartnerYearVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<ReportPartnerYearVO> page =  new   PageInfo<>();
        List  list  =  new ArrayList();
        ReportPartnerYearVO vo =  new ReportPartnerYearVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<ReportPartnerYearVO> reportPartnerYearVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(ReportPartnerYearVO reportPartnerYearVO) {
        List  list  =  new ArrayList();
        ReportPartnerYearVO vo =  new ReportPartnerYearVO();
        vo.setPartnerCode("暂无数据");
        list.add(vo);
        return list;
    }
}
